package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.AgentDiscount;
import com.weixing.mall.provider.api.model.vo.AgentDiscountVo;

import java.util.List;

/**
 * <p>
 * 促销模块-代理商活动折扣表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-16
 */
public interface IAgentDiscountService extends IService<AgentDiscount> {


    List<AgentDiscountVo> getByName(String name);

    IPage<AgentDiscountVo> listPage(Page initMpPage, String name);

    AgentDiscount selectByName(String name);
}
